Adding some more judges, here and there.
[andmenj-acm.git] / COCI / 2009-2010 / Contest #7 - 24.04.2010 / cokolada / run.rb
blobd5dd030e0a62dbf87ce789b926422c91ce4808e9
1 #! /usr/bin/ruby
2 1000.times do
3   x = rand(1000000) + 1
4   system "echo #{x} | ./cokolada > a"
5   system "echo #{x} | ./cokolada.2 > b"
6   system "diff a b"
7   system "rm a b"
8 end